/*
 * @Author: huang liang miao 1127255342@qq.com
 * @Date: 2024-11-21 11:17:36
 * @LastEditors: huang liang miao 1127255342@qq.com
 * @LastEditTime: 2024-12-10 15:03:48
 * @FilePath: \dcy-webd:\webCode\dcyCode\scientific_research_manager_web\src\api\home\index.ts
 * @Description: 工作台-待办事项
 */

import request from '@/utils/request'

import {
  UpcomingCountVO,
  UpcomingNormalCountVO,
  CommonPointCountVO
} from './type'


// 查询列表-管理员、院/部身份
export function getUpcomingListPage() {
  return request<UpcomingCountVO>({
    url: '/workbench/api/upcoming/list',
    method: 'get',
  })
}

// 查询列表-教职工身份
export function getUpcomingNormalListPage() {
  return request<UpcomingNormalCountVO>({
    url: '/workbench/api/upcoming/normal/list',
    method: 'get',
  })
}

// 常用功能数量
export function getPointCountPage() {
  return request<CommonPointCountVO>({
    url: '/workbench/api/common/point/count',
    method: 'get',
  })
}